﻿using Loki.IoC;
using Loki.IoC.Registration;
using Luna.UI.Configuration;

namespace Luna.UI
{
    public class MainViewModelInstaller : LokiContextInstaller
    {
        public override void Install(IObjectContext P_Context)
        {
            P_Context.Register(Element.ViewModel<ConnectorConfigurationViewModel>());
            P_Context.Register(Element.ViewModel<ApplicationMenuViewModel>());
            P_Context.Register(Element.ViewModel<NavigationMenuViewModel>());
            P_Context.Register(Element.ViewModel<GoogleConnectorViewModel>());
            P_Context.Register(Element.ViewModel<ZohoCRMConnectorViewModel>());
            P_Context.Register(Element.ViewModel<OpenDocumentsViewModel>());
            P_Context.Register(Element.ViewModel<MainViewModel>());
        }
    }
}